how to use aws efs on kubernetes1.19

  1. get efs app

    helm repo add helm-stable https://kubernetes-charts.storage.googleapis.com
    helm repo update
    helm pull helm-stable/efs-provisioner --untar
    
  2. install efs

    edit values.yaml, modified dnsName, path and isDefault, etc.

    helm install efs efs-provisioner
    tail -n 1 /etc/fstab
    dns:/ /efs nfs default 0 0
    
  3. references:

    https://www.padok.fr/en/blog/efs-provisioner-kubernetes